import { reactive } from 'vue'

export interface ILeftData {
  categ_id: string | undefined
  subcateg_id: string | undefined
  picture_id: string | undefined
  picture_keyword: string | undefined
  site_id: string | undefined
  status: number | undefined
}
export const leftState: Record<string, any> = reactive<ILeftData>({
  categ_id: undefined,
  subcateg_id: undefined,
  picture_id: undefined,
  picture_keyword: undefined,
  site_id: undefined,
  status: 1
})
export const PRICE_TYPE: Record<number, any> = {
  1: '免费',
  2: '付费',
  3: '点播'
}
export const leftColumn = [
  {
    dataIndex: 'picture_id',
    title: '图集ID',
    key: 'picture_id',
    width: 120
  },
  {
    dataIndex: 'picture_name',
    title: '图集名称',
    key: 'picture_name',
    width: 100
  },
  {
    dataIndex: 'picture_price_type',
    title: '收费状态',
    key: 'picture_price_type',
    width: 140
  },
  {
    dataIndex: 'picture_popularity',
    title: '人气',
    key: 'picture_popularity',
    width: 80
  }
]
export const rightColumn = [
  {
    dataIndex: 'picture_id',
    title: '图集ID',
    key: 'picture_id',
    width: 120
  },
  {
    dataIndex: 'picture_name',
    title: '图集名称',
    key: 'picture_name',
    width: 100
  },
  {
    dataIndex: 'picture_price_type',
    title: '收费状态',
    key: 'picture_price_type',
    width: 140
  },
  {
    dataIndex: 'picture_popularity',
    title: '人气',
    key: 'picture_popularity',
    width: 80
  }
]
